Cs 395t: Algorithms for Computational Biology 12.2 Applications of Dynamic Programming (hw) 12.2.1 Computing the Topological Diameter of a Tree
نویسندگان
چکیده
Each student should select a paper to present to the class and notify Professor Warnow of this selection by e-mail prior to next Tuesday's lecture. Scribe Notes. Beginning with today's lecture, a designated scribe will be responsible for taking notes on each lecture, typesetting a polished and thorough version of the notes in L A T E X, e-mailing the notes in both .tex and .pdf formats to Professor Warnow, and revising the notes to incorporate the profes-sor's feedback. Both problems on Homework #2 were concerned with applications of dynamic programming to bioinformatics tasks. This section briefly outlines solutions to these problems: Problem 1. Give a dynamic programming algorithm for computing the longest leaf-to-leaf path in a tree. (Here we define the length of a path to be the number of edges in the path.) This is also called the " topological diameter " of the tree. Analyze the running time. Problem 2. Give a dynamic programming algorithm for the longest common subsequence between two strings. This is the same problem as finding the minimum number of deletions from the two strings so that the result is two identical strings. Thus, the longest common subsequence of AAAAAAAAAA and CATTAGAA is AAAA. Analyze the running time. To find the topological diameter of a tree, we first define H(n), the height of a node n ∈ N to represent the maximum number of edges from a leaf node it is: 12-1
منابع مشابه
Modern Computational Applications of Dynamic Programming
Computational dynamic programming, while of some use for situations typically encountered in industrial and systems engineering, has proved to be of much greater significance in many areas of computer science. We review some of these applications here.
متن کاملgpALIGNER: A Fast Algorithm for Global Pairwise Alignment of DNA Sequences
Bioinformatics, through the sequencing of the full genomes for many species, is increasingly relying on efficient global alignment tools exhibiting both high sensitivity and specificity. Many computational algorithms have been applied for solving the sequence alignment problem. Dynamic programming, statistical methods, approximation and heuristic algorithms are the most common methods appli...
متن کاملEnergy cost minimization in an electric vehicle solar charging station via dynamic programming
Environmental crisis and shortage of fossil fuels make Electric Vehicles (EVs) alternatives for conventional vehicles. With growing numbers of EVs, the coordinated charging is necessary to prevent problems such as large peaks and power losses for grid and to minimize charging costs of EVs for EV owners. Therefore, this paper proposes an optimal charging schedule based on Dynamic Programming (DP...
متن کاملCloud Computing Technology Algorithms Capabilities in Managing and Processing Big Data in Business Organizations: MapReduce, Hadoop, Parallel Programming
The objective of this study is to verify the importance of the capabilities of cloud computing services in managing and analyzing big data in business organizations because the rapid development in the use of information technology in general and network technology in particular, has led to the trend of many organizations to make their applications available for use via electronic platforms hos...
متن کاملEfficient Approximation Algorithms for Point-set Diameter in Higher Dimensions
We study the problem of computing the diameter of a set of $n$ points in $d$-dimensional Euclidean space for a fixed dimension $d$, and propose a new $(1+varepsilon)$-approximation algorithm with $O(n+ 1/varepsilon^{d-1})$ time and $O(n)$ space, where $0 < varepsilonleqslant 1$. We also show that the proposed algorithm can be modified to a $(1+O(varepsilon))$-approximation algorithm with $O(n+...
متن کامل